package com.dotc.patterndemo.action.observer;


import android.util.Log;

public class CustomerObserver implements Observer {

    private String name;

    public CustomerObserver(String name){
        this.name = name;
    }

    @Override
    public void update() {
        Log.d("LUO",name + "购买青芒");
    }
}
